﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;
using Ghy.Soft.Data;

namespace Ghy.Soft.Business
{
    public class CommonHelper
    {
        public String EncryptBySHA1(String source)
        {
            return FormsAuthentication.HashPasswordForStoringInConfigFile(source, "SHA1");
        }

        public static void StartDataHelper()
        {
            FluentFactory.GetSession();
        }
    }
}
